package com.example.tilitili.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 主页面
 */
@Controller
@RequestMapping("/index")
@Slf4j
public class IndexController {
    /**
     * 跳转主页面
     * @return
     */
    @RequestMapping("/toIndex")
    public String toIndex(){
        return "index";
    }
}
